GNUPro Toolkit Documentation|Index|Next
Using `ld` , the GNU linker

    Copyright © 1991, 1992, 1993, 1994, 1995, 1996, 1997  Free Software Foundation, Inc.

    Permission is granted to make and distribute verbatim copies of this manual provided
    the copyright notice and this permission notice are preserved on all copies.

    Permission is granted to copy and distribute modified versions of this documentation
    under the conditions for verbatim copying, provided also that the entire resulting
    derived work is distributed under the terms of a permission notice identical to this one.

    Permission is granted to copy and distribute translations of this documentation
    into another language, under the above conditions for modified versions.

    This documentation has been prepared by Cygnus Solutions Technical Publications;
    to contact us: doc@cygnus.com

    Copyright © 1994, 1995, 1996, 1997  Cygnus Solutions. All rights reserved.

    GNUPro™, the GNUPro™  logo and the Cygnus Solutions logo are trademarks of
    Cygnus Solutions. All other brand and product names are trademarks of their
    respective owners.

The following documentation discusses the GNU linker, ld.

- Overview of ld, the GNU linker
- Invocation

- Command line options
- Environment variables

- Linker scripts

- Basic linker script concepts

- Linker script format
- Simple linker script example
- Simple linker script commands
- Setting the entry point
- Commands dealing with files
- Commands dealing with object file formats
- Other linker script commands
- Assigning values to symbols
- Simple assignments

- `PROVIDE` command
- `SECTIONS` command

- Output section description
- Output section name
- Output section address
- Input section description
- Input section basics
- Input section wildcard patterns
- Input section for common symbols
- Input section example
- Output section data
- Output section keywords
- Output section discarding
- Output section attributes
- Output section type
- Output section LMA
- Output section region
- Output section `phdr`
- Output section fill

- Overlay description
- `MEMORY` command
- `PHDRS` command
- `VERSION` command
- Expressions in linker scripts

- Constants
- Symbol names
- The location counter
- Operators
- Evaluation
- The section of an expression
- Builtin functions

- Machine dependent features

- ld and the H8/300
- ld and the Intel 960 family

- BFD

- How it works: an outline of BFD

- Information Loss
- The BFD canonical object-file format

- MRI compatible script files
- Index

Top|GNUPro Toolkit Documentation|Index|Next